﻿'user strict';

var myApp = angular.module('myApp', [
    'ngRoute'
]);

myApp.config(function ($routeProvider) {
    $routeProvider.when('/', {
        templateUrl: '/views/HomeView.html',
        controller: 'HomeController'
    })
    .when('/chat', {
        templateUrl: '/views/ChatView.html',
        controller: 'ChatController'
    })
    .when('/menu', {
        templateUrl: '/views/MenuView.html',
        controller: 'MenuController'
    })
    .when('/specials', {
        templateUrl: '/views/SpecialsView.html',
        controller: 'SpecialsController'
    })
    .otherwise({
        redirectTo: '/'
    })
});